package com.zmn.oms.dubbo.interfaces.zmn.shop.order;

import com.zmn.common.dto.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.order.CancelOrderDIO;
import com.zmn.oms.dubbo.dto.zmn.order.NewOrderDRO;
import com.zmn.oms.dubbo.dto.zmn.order.shop.NewShopOrderDIO;
import com.zmn.oms.dubbo.dto.zmn.order.shop.OrderAmountByCalcDIO;
import com.zmn.oms.dubbo.dto.zmn.order.shop.OrderAmountByCalcDRO;
import com.zmn.oms.dubbo.dto.zmn.order.shop.UpdateQuotationOrderProductDIO;

/**
 * 类描述：店铺录单
 * @author heciqi
 * @date 2019/8/21 16:15
 */
@Deprecated
public interface ShopOrderRemoteService {

	/**
	 * 获取订单金额
	 * @param orderAmountByCalcDIO
	 * @return
	 * @see ShopOrderWorkRemoteService#getOrderAmountByCalc(com.zmn.oms.dubbo.dto.zmn.order.shop.OrderAmountByCalcDIO)
	 */
	@Deprecated
	com.zmn.common.dto2.ResponseDTO<OrderAmountByCalcDRO> getOrderAmountByCalc(OrderAmountByCalcDIO orderAmountByCalcDIO);

	/**
	 * 新增工单
	 * @param newOrderDIO
	 * @return
	 * @see ShopOrderWorkRemoteService#addOrder(com.zmn.oms.dubbo.dto.zmn.order.shop.NewShopOrderDIO)
	 */
	@Deprecated
	ResponseDTO<NewOrderDRO> addOrder(NewShopOrderDIO newOrderDIO);

	/**
	 * 新增计价器订单
	 * @param newOrderDIO
	 * @return
	 * @see ShopOrderWorkRemoteService#addQuotationOrder(com.zmn.oms.dubbo.dto.zmn.order.shop.NewShopOrderDIO)
	 */
	@Deprecated
	com.zmn.common.dto2.ResponseDTO<NewOrderDRO> addQuotationOrder(NewShopOrderDIO newOrderDIO);

	/**
	 * 修改订单产品&服务项
	 * @param updateOrderServiceItmeDIO
	 * @return
	 * @see ShopOrderWorkRemoteService#updateQuotationOrderProduct(com.zmn.oms.dubbo.dto.zmn.order.shop.UpdateQuotationOrderProductDIO)
	 */
	@Deprecated
	com.zmn.common.dto2.ResponseDTO<Boolean> updateQuotationOrderProduct(UpdateQuotationOrderProductDIO updateOrderServiceItmeDIO);

	/**
	 * 取消订单
	 * @param cancelOrderDIO
	 * @return
	 * @see ShopOrderWorkRemoteService#cancelOrder(com.zmn.oms.dubbo.dto.zmn.order.CancelOrderDIO)
	 */
	@Deprecated
	ResponseDTO cancelOrder(CancelOrderDIO cancelOrderDIO);
}